package com.zprmb.udzt.bean;

import org.json.JSONObject;

public class InvestYY_Bean extends BaseBean<InvestYY_Bean>{

	public String investAmount;//投资金额
	public String investTime;// 投资时间
	public String closurePeriod;// 封闭期
	public String repaymentType;
	// 还款方式 MONTHLY_INTEREST("按月付息，到期还本付息")|BULLET_REPAYMENT("一次性还本付息")|DAILY_INTEREST("每日计息，随时还本付息")	
	public String fixedRate;
	public String nextRepayDate;
	public String amount;
	public String applyTime;
	public String investId;
	public String sumRepayAmount;
	
	
	public InvestYY_Bean parseJSON(JSONObject inputJsonObj) {
		
		investAmount = inputJsonObj.optString("investAmount");
		investTime = inputJsonObj.optString("investTime");
		closurePeriod = inputJsonObj.optString("closurePeriod");
		repaymentType = inputJsonObj.optString("repaymentType");
		fixedRate = inputJsonObj.optString("fixedRate");
		nextRepayDate = inputJsonObj.optString("nextRepayDate");
		amount = inputJsonObj.optString("amount");
		applyTime = inputJsonObj.optString("applyTime");
		investId = inputJsonObj.optString("investId");
		sumRepayAmount = inputJsonObj.optString("sumRepayAmount");
		return this;
	}

}
